<?php
/**
 * @author jonathan poelen <jonathan.poelen@gmail.com>
 * @version 1.0: jo_link_noir
 * @date 02-01-11
 */
class SW_Structure_Dependency_Tree
{
	/** @var ArrayIterator*/
	protected $groups;


	/** @var ArrayIterator*/
	protected $structures;

	/**
	 * @param ArrayIterator $groups = null
	 * @param ArrayIterator $structures = null
	 */
	public function __construct(ArrayIterator $groups = null, ArrayIterator $structures = null)
	{
		$this->groups = $groups;
		$this->structures = $structures;
	}

	/**
	 * @return ArrayIterator|null
	 */
	public function getStructures()
	{
		return $this->structures;
	}

	/**
	 * @return ArrayIterator|null
	 */
	public function getGroups()
	{
		return $this->groups;
	}
}